package com.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pojo.Relationship;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

@Repository
public interface RelationshipMapper extends BaseMapper<Relationship> {


   @Insert("INSERT INTO relationship (counselor_id, supervisor_id) VALUES (#{counselorId}, #{supervisorId})")
   boolean insertRelationship(@Param("counselorId") int counselorId, @Param("supervisorId") int supervisorId);
    
}
